c# get all enum values

76

enum get all values C# -

//typed
var values = Enum.GetValues(typeof(Foos)).Cast<Foos>()

c# get all enum values -

var values = Enum.GetValues(typeof(Foos));

Comments

Submit
0 Comments